package com.ouli.crowd.service.api;

import com.github.pagehelper.PageInfo;
import com.ouli.crowd.entity.Admin;

import java.util.List;

public interface AdminService {
    void saveAdmin(Admin admin);

    List<Admin> getAllAdmin();

    Admin getAdminByLoginAcct(String loginAcct, String userPswd);

    PageInfo<Admin> getAdminByKeyWord(String keyword,Integer pageNum,Integer PageSize);

    void deleteAdminById(Integer id);

    Admin getAdminById(Integer adminId);

    void editAdminById(Admin admin);

    boolean batchDeletion(String pram);
}
